package com.fire.domain;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.ArrayList;

public class Student implements Serializable {
    private String id;
    private String name;
    private String gender;
    private LocalDate birthday;
    private String phoneNum;
    private int age;
    private int group;
    private String weChatNum;

    public Student() {
    }

    public Student(String id, String name, String gender, LocalDate birthday, String phoneNum, int age, int group, String weChatNum) {
        this.id = id;
        this.name = name;
        this.gender = gender;
        this.birthday = birthday;
        this.phoneNum = phoneNum;
        this.age = age;
        this.group = group;
        this.weChatNum = weChatNum;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public LocalDate getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDate birthday) {
        this.birthday = birthday;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getGroup() {
        return group;
    }

    public void setGroup(int group) {
        this.group = group;
    }

    public String getWeChatNum() {
        return weChatNum;
    }

    public void setWeChatNUm(String weChatNum) {
        this.weChatNum = weChatNum;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", birthday=" + birthday +
                ", phoneNum='" + phoneNum + '\'' +
                ", age=" + age +
                ", group=" + group +
                ", weChatNUm=" + weChatNum +
                '}';
    }

}
